import request from '@/utils/request'

// 查询电子秤标量报列表
export function listDzc(query) {
  return request({
    url: '/Laboratory/dzc/list',
    method: 'get',
    params: query
  })
}

// 查询电子秤标量报详细
export function getDzc(id) {
  return request({
    url: '/Laboratory/dzc/' + id,
    method: 'get'
  })
}

// 新增电子秤标量报
export function addDzc(data) {
  return request({
    url: '/Laboratory/dzc',
    method: 'post',
    data: data
  })
}

// 修改电子秤标量报
export function updateDzc(data) {
  return request({
    url: '/Laboratory/dzc',
    method: 'put',
    data: data
  })
}

// 删除电子秤标量报
export function delDzc(id) {
  return request({
    url: '/Laboratory/dzc/' + id,
    method: 'delete'
  })
}
